Don't fail in acl_set_file on MS-Windows if the operation is a no-op.
authorEli Zaretskii <eliz@gnu.org>
Sun, 23 Dec 2012 17:16:33 +0000 (19:16 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 23 Dec 2012 17:16:33 +0000 (19:16 +0200)
commit88543cf57a57a483b9cff12c5cfbc7065039a94e
treeb4f84408574574ac08edc6132074cb3504694600
parent7f346b01f82cb45cffef37b1ff76afdd778fd612
Don't fail in acl_set_file on MS-Windows if the operation is a no-op.

 src/w32.c (acl_set_file): If setting the file security descriptor
 fails, and the new DACL is identical to the existing one, silently
 return success.  This fixes problems for users backing up their
 own files without having the necessary privileges for setting
 security descriptors.
src/ChangeLog
src/w32.c